package com.yzjs.localhost.service.sysUser;



import java.util.Map;
import com.yzjs.common.base.service.BaseService;
import com.yzjs.localhost.dto.ComparisonResultDTO;
import com.yzjs.localhost.dto.DataBundlingDTO;
import com.yzjs.localhost.dto.UserRightsDTO;
import com.yzjs.localhost.entity.sysDept.SysDeptEntity;
import com.yzjs.localhost.entity.sysUser.SysUserEntity;
import com.yzjs.localhost.dao.sysUser.SysUserMapper;

/**
 * 用户信息表
 *
 * @author yuqiumin
 * @email sunlightcs@gmail.com
 * @date 2021-09-02 10:49:41
 */
public interface SysUserService extends BaseService<SysUserEntity,SysUserMapper> {

    /**
     * 用户核验信息比对
     * @param dto
     * @param rights
     * @return
     */
    ComparisonResultDTO UserCompliance(DataBundlingDTO dto, UserRightsDTO rights) throws Exception ;


    /**
     * 同步用户基础信息
     * @param userEntity
     */
    public void SynchronizationSysUser(SysUserEntity userEntity, String operatorCode);
}

